package com.wbs.shop.nuby.view.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcelable;

import androidx.annotation.Nullable;
import androidx.recyclerview.widget.DefaultItemAnimator;
import androidx.recyclerview.widget.RecyclerView;

import android.text.Editable;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.wbs.shop.nuby.R;
import com.wbs.shop.nuby.api.ApiHelper;
import com.wbs.shop.nuby.api.RxHelper;
import com.wbs.shop.nuby.api.RxSubscribe;
import com.wbs.shop.nuby.bean.EmployeeBean;
import com.wbs.shop.nuby.bean.GoodsShowBean;
import com.wbs.shop.nuby.bean.PayModeBean;
import com.wbs.shop.nuby.bean.UnderLineOrderBean;
import com.wbs.shop.nuby.commom.Key;
import com.wbs.shop.nuby.helper.FullyLinearLayoutManager;
import com.wbs.shop.nuby.utils.DOMStorageUtils;
import com.wbs.shop.nuby.utils.Logger;
import com.wbs.shop.nuby.utils.StringUtils;
import com.wbs.shop.nuby.utils.Utils;
import com.wbs.shop.nuby.view.adapter.GoodsShowAdapter;
import com.wbs.shop.nuby.view.adapter.PayModeAdapter;
import com.wbs.shop.nuby.view.base.BaseActivity;
import com.wbs.shop.nuby.view.fragment.CashierPayFragment;
import com.wbs.shop.nuby.widget.InputEditText;
import com.yanzhenjie.permission.AndPermission;
import com.yanzhenjie.permission.runtime.Permission;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.OnTextChanged;
import io.reactivex.Observable;
import library.qrcode.zxing.QrCodeHelper;
import library.qrcode.zxing.QrCodeListener;

/**
 * Created by zhoucl on 2018/6/15 0015.
 */
public class CashierPayActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cashier_pay);
        getSupportFragmentManager().beginTransaction().replace(R.id.frameLayout, new CashierPayFragment()).commitAllowingStateLoss();
    }
}
